12 research outputs found

    Tensor Decomposition Based Attention Module for Spiking Neural Networks

    Full text link
    The attention mechanism has been proven to be an effective way to improve spiking neural network (SNN). However, based on the fact that the current SNN input data flow is split into tensors to process on GPUs, none of the previous works consider the properties of tensors to implement an attention module. This inspires us to rethink current SNN from the perspective of tensor-relevant theories. Using tensor decomposition, we design the \textit{projected full attention} (PFA) module, which demonstrates excellent results with linearly growing parameters. Specifically, PFA is composed by the \textit{linear projection of spike tensor} (LPST) module and \textit{attention map composing} (AMC) module. In LPST, we start by compressing the original spike tensor into three projected tensors using a single property-preserving strategy with learnable parameters for each dimension. Then, in AMC, we exploit the inverse procedure of the tensor decomposition process to combine the three tensors into the attention map using a so-called connecting factor. To validate the effectiveness of the proposed PFA module, we integrate it into the widely used VGG and ResNet architectures for classification tasks. Our method achieves state-of-the-art performance on both static and dynamic benchmark datasets, surpassing the existing SNN models with Transformer-based and CNN-based backbones.Comment: 11 page

    OR Residual Connection Achieving Comparable Accuracy to ADD Residual Connection in Deep Residual Spiking Neural Networks

    Full text link
    Spiking Neural Networks (SNNs) have garnered substantial attention in brain-like computing for their biological fidelity and the capacity to execute energy-efficient spike-driven operations. As the demand for heightened performance in SNNs surges, the trend towards training deeper networks becomes imperative, while residual learning stands as a pivotal method for training deep neural networks. In our investigation, we identified that the SEW-ResNet, a prominent representative of deep residual spiking neural networks, incorporates non-event-driven operations. To rectify this, we introduce the OR Residual connection (ORRC) to the architecture. Additionally, we propose the Synergistic Attention (SynA) module, an amalgamation of the Inhibitory Attention (IA) module and the Multi-dimensional Attention (MA) module, to offset energy loss stemming from high quantization. When integrating SynA into the network, we observed the phenomenon of "natural pruning", where after training, some or all of the shortcuts in the network naturally drop out without affecting the model's classification accuracy. This significantly reduces computational overhead and makes it more suitable for deployment on edge devices. Experimental results on various public datasets confirmed that the SynA enhanced OR-Spiking ResNet achieved single-sample classification with as little as 0.8 spikes per neuron. Moreover, when compared to other spike residual models, it exhibited higher accuracy and lower power consumption. Codes are available at https://github.com/Ym-Shan/ORRC-SynA-natural-pruning.Comment: 16 pages, 8 figures and 11table

    Gated Attention Coding for Training High-performance and Efficient Spiking Neural Networks

    Full text link
    Spiking neural networks (SNNs) are emerging as an energy-efficient alternative to traditional artificial neural networks (ANNs) due to their unique spike-based event-driven nature. Coding is crucial in SNNs as it converts external input stimuli into spatio-temporal feature sequences. However, most existing deep SNNs rely on direct coding that generates powerless spike representation and lacks the temporal dynamics inherent in human vision. Hence, we introduce Gated Attention Coding (GAC), a plug-and-play module that leverages the multi-dimensional gated attention unit to efficiently encode inputs into powerful representations before feeding them into the SNN architecture. GAC functions as a preprocessing layer that does not disrupt the spike-driven nature of the SNN, making it amenable to efficient neuromorphic hardware implementation with minimal modifications. Through an observer model theoretical analysis, we demonstrate GAC's attention mechanism improves temporal dynamics and coding efficiency. Experiments on CIFAR10/100 and ImageNet datasets demonstrate that GAC achieves state-of-the-art accuracy with remarkable efficiency. Notably, we improve top-1 accuracy by 3.10\% on CIFAR100 with only 6-time steps and 1.07\% on ImageNet while reducing energy usage to 66.9\% of the previous works. To our best knowledge, it is the first time to explore the attention-based dynamic coding scheme in deep SNNs, with exceptional effectiveness and efficiency on large-scale datasets.Comment: 12 pages, 7 figure

    Diagnostic accuracy of autoverification and guidance system for COVID-19 RT-PCR results

    Get PDF
    Background: To date, most countries worldwide have declared that the pandemic of COVID-19 is over, while the WHO has not officially ended the COVID-19 pandemic, and China still insists on the personalized dynamic COVID-free policy. Large-scale nucleic acid testing in Chinese communities and the manual interpretation for SARS-CoV-2 nucleic acid detection results pose a huge challenge for labour, quality and turnaround time (TAT) requirements. To solve this specific issue while increase the efficiency and accuracy of interpretation, we created an autoverification and guidance system (AGS) that can automatically interpret and report the COVID-19 reverse transcriptase-polymerase chain reaction (RT-PCR) results relaying on computer-based autoverification procedure and then validated its performance in real-world environments. This would be conductive to transmission risk prediction, COVID-19 prevention and control and timely medical treatment for positive patients in the context of the predictive, preventive and personalized medicine (PPPM). Methods: A diagnostic accuracy test was conducted with 380,693 participants from two COVID-19 test sites in China, the Hong Kong Hybribio Medical Laboratory (n = 266,035) and the mobile medical shelter at a Shanghai airport (n = 114,658). These participants underwent SARS-CoV-2 RT-PCR from March 28 to April 10, 2022. All RT-PCR results were interpreted by laboratorians and by using AGS simultaneously. Considering the manual interpretation as gold standard, the sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV) and accuracy were applied to evaluate the diagnostic value of the AGS on the interpretation of RT-PCR results. Results: Among the 266,035 samples in Hong Kong, there were 16,356 (6.15%) positive, 231,073 (86.86%) negative, 18,606 (6.99%) indefinite, 231,073 (86.86%, negative) no retest required and 34,962 (13.14%, positive and indefinite) retest required; the 114,658 samples in Shanghai consisted of 76 (0.07%) positive, 109,956 (95.90%) negative, 4626 (4.03%) indefinite, 109,956 (95.90%, negative) no retest required and 4702 (4.10%, positive and indefinite) retest required. Compared to the fashioned manual interpretation, the AGS is a procedure of high accuracy [99.96% (95%CI, 99.95–99.97%) in Hong Kong and 100% (95%CI, 100–100%) in Shanghai] with perfect sensitivity [99.98% (95%CI, 99.97–99.98%) in Hong Kong and 100% (95%CI, 100–100%) in Shanghai], specificity [99.87% (95%CI, 99.82–99.90%) in Hong Kong and 100% (95%CI, 99.92–100%) in Shanghai], PPV [99.98% (95%CI, 99.97–99.99%) in Hong Kong and 100% (95%CI, 99.99–100%) in Shanghai] and NPV [99.85% (95%CI, 99.80–99.88%) in Hong Kong and 100% (95%CI, 99.90–100%) in Shanghai]. The need for manual interpretation of total samples was dramatically reduced from 100% to 13.1% and the interpretation time fell from 53 h to 26 min in Hong Kong; while the manual interpretation of total samples was decreased from 100% to 4.1% and the interpretation time dropped from 20 h to 16 min at Shanghai. Conclusions: The AGS is a procedure of high accuracy and significantly relieves both labour and time from the challenge of large-scale screening of SARS-CoV-2 using RT-PCR. It should be recommended as a powerful screening, diagnostic and predictive system for SARS-CoV-2 to contribute timely the ending of the COVID-19 pandemic following the concept of PPPM

    Erythrocyte Membrane-Coated Arsenic Trioxide-Loaded Sodium Alginate Nanoparticles for Tumor Therapy

    No full text
    Arsenic trioxide (ATO) has a significant effect on the treatment of acute promyelocytic leukemia (APL) and advanced primary liver cancer, but it still faces severe side effects. Considering these problems, red blood cell membrane-camouflaged ATO-loaded sodium alginate nanoparticles (RBCM-SA-ATO-NPs, RSANs) were developed to relieve the toxicity of ATO while maintaining its efficacy. ATO-loaded sodium alginate nanoparticles (SA-ATO-NPs, SANs) were prepared by the ion crosslinking method, and then RBCM was extruded onto the surface to obtain RSANs. The average particle size of RSANs was found to be 163.2 nm with a complete shell-core bilayer structure, and the average encapsulation efficiency was 14.31%. Compared with SANs, RAW 264.7 macrophages reduced the phagocytosis of RSANs by 51%, and the in vitro cumulative release rate of RSANs was 95% at 84 h, which revealed a prominent sustained release. Furthermore, it demonstrated that RSANs had lower cytotoxicity as compared to normal 293 cells and exhibited anti-tumor effects on both NB4 cells and 7721 cells. In vivo studies further showed that ATO could cause mild lesions of main organs while RSANs could reduce the toxicity and improve the anti-tumor effects. In brief, the developed RSANs system provides a promising alternative for ATO treatment safely and effectively

    Preparation of W/O Hypaphorine–Chitosan Nanoparticles and Its Application on Promoting Chronic Wound Healing via Alleviating Inflammation Block

    No full text
    Chronic wound repair is a common complication in patients with diabetes mellitus, which causes a heavy burden on social medical resources and the economy. Hypaphorine (HYP) has good anti-inflammatory effect, and chitosan (CS) is used in the treatment of wounds because of its good antibacterial effect. The purpose of this research was to investigate the role and mechanism of HYP-nano-microspheres in the treatment of wounds for diabetic rats. The morphology of HYP-NPS was observed by transmission electron microscopy (TEM). RAW 264.7 macrophages were used to assess the bio-compatibility of HYP-NPS. A full-thickness dermal wound in a diabetic rat model was performed to evaluate the wound healing function of HYP-NPS. The results revealed that HYP-NPS nanoparticles were spherical with an average diameter of approximately 50 nm. The cell experiments hinted that HYP-NPS had the potential as a trauma material. The wound test in diabetic rats indicated that HYP-NPS fostered the healing of chronic wounds. The mechanism was through down-regulating the expression of pro-inflammatory cytokines IL-1β and TNF-α in the skin of the wound, and accelerating the transition of chronic wound from inflammation to tissue regeneration. These results indicate that HYP-NPS has a good application prospect in the treatment of chronic wounds
    corecore